package com.cuotigou.pojo;

import java.util.Date;

/**
 * 学习方法
 * 
 * @author wcyong
 * 
 * @date 2018-11-08
 */
public class SMethod {
    private Long id;

    /**
     * 科目id
     */
    private Integer subjectId;

    /**
     * 标题
     */
    private String title;

    /**
     * 预览内容
     */
    private String subtitle;

    /**
     * 内容
     */
    private String content;

    /**
     * 点赞
     */
    private Integer fabulous;

    /**
     * 收藏
     */
    private Integer collection;

    private Date addTime;

    private Date modifyTime;

    /**
     * 1 删除
     */
    private Integer isDelete;
    /**
     * 1 收藏
     */
    private Integer isCollection;
    /**
     * 1 点赞
     */
    private Integer isFabulous;

    private Integer gradeId;

    private String time;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getGradeId() {
        return gradeId;
    }

    public void setGradeId(Integer gradeId) {
        this.gradeId = gradeId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle == null ? null : subtitle.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getFabulous() {
        return fabulous;
    }

    public void setFabulous(Integer fabulous) {
        this.fabulous = fabulous;
    }

    public Integer getCollection() {
        return collection;
    }

    public void setCollection(Integer collection) {
        this.collection = collection;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(Integer isCollection) {
        this.isCollection = isCollection;
    }

    public Integer getIsFabulous() {
        return isFabulous;
    }

    public void setIsFabulous(Integer isFabulous) {
        this.isFabulous = isFabulous;
    }
}